package F21AS_Freddy.AFJ_Taxikiosk.src;

/**
 * This an exception class used to capture duplicate passenger 
 * @author Freddy Wong
 * F21AS Course Work Stage2 @ Year 2015
 */

public class DuplicatePassengerException extends Exception {


	public DuplicatePassengerException(Passenger duplicatePassenger) {
		super("Duplicate passenger with booking number: " + duplicatePassenger.toString());
	}

}
